<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>盒子模型练习</title>
    <style>
        * {
            font-size: 0px;
        }

        .box {
            width: 800px;
            height: 600px;
            background-color: crimson;
        }

        .left_box {
            width: 200px;
            height: 600px;
            background-color: darkcyan;
            display: inline-block;
            font-size: 20px;
            vertical-align: top;
        }

        .right_box {
            width: 400px;
            height: 600px;
            background-color: darkorchid;
            display: inline-block;
        }
    </style>
</head>

<body>
    <div class="box">
        <!-- 左盒子 -->
        <div class="left_box">达达鸭</div>
        <!-- 右盒子 -->
        <div class="right_box"></div>
    </div>
</body>

</html>